/*
  Name: DeadProxyLaunchClient.h
  Copyright: 
  Author: Carl Chatfield
  Date: 06/01/08 19:32
  Description: Launches Tibia Clients
*/
#ifndef __DEADPROXYLAUNCHCLIENT_h__
#define __DEADPROXYLAUNCHCLIENT_h__

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
#else
	#include <wx/wxprec.h>
#endif


class LaunchClientThread : public wxThread
{
    private:
        const char * com;
        const char * dir;
    
	public:
        // thread execution starts here
        virtual void * Entry();

        // called when the thread exits - whether it terminates normally or is
        // stopped with Delete() (but not when it is Kill()ed!)
        virtual void OnExit();
        
        LaunchClientThread(const char * command, const char * workingdirectory);
};


#endif
